package myzzyl.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import myzzyl.base.BaseEntity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Objects;


@Data
public class SysResourceDto {

    private Long id;

    private String resourceNo;

    private String parentResourceNo;

    private String resourceName;

    private String resourceType;

    private String requestPath;

    private String label;

    private String dataState;

    private Integer sortNo;

    private String icon;

    @Override
    public int hashCode() {
        return Objects.hash(resourceNo, parentResourceNo);
    }
}